import {
	apiapi
} from "./request.js"

export const getCamList = () => apiapi(
	'apim.php?_=CamMonitor::play',
	'GET',
);
export const getCamPhoto = (data) => apiapi(
	'https://open.ys7.com/api/lapp/device/capture',
	'POST',
	data, {
		isUrl: true
	}
);
export const getCamDataList = (data) => apiapi(
	'apim.php?_=CamMonitor::getDataByModelId',
	'POST',
	data
);
export const getProductCamDataList = (data) => apiapi(
	'apim.php?_=DataAccess::list',
	'POST',
	data
);
